<?php $this->load->view('provider/template/_begin') ?>
<?php $this->load->view('provider/template/_index') ?>
<div class="w6 cpos_1 mg5">
  <?php
  if (userdata('provider_id')) {
    $this->load->view('provider/template/_profile');
  } else {
    $this->load->view('provider/template/_login');
  }
  ?>
</div>
<?php $this->load->view('provider/template/_end') ?>    